import { Component } from 'react'
import { View, Text, Image} from '@tarojs/components'
import { AtForm,AtInput,AtButton } from 'taro-ui'
import Taro from '@tarojs/taro'

export default class Login extends Component{
    constructor () {
        super(...arguments)
        this.state = {
          value: ''
        }
      }
      onJump(jumpurl){
        Taro.navigateTo({url:jumpurl});
      }
     
   
      render () {
        return (
            <View>
        
            <AtButton onClick={this.onJump.bind(this,'/pages/index/index')}>登录</AtButton>
          </View>
        )
      }
    }
      
